.profile {
  max-width: 100%;
  flex: 1;
}

.profile__wrapper {
  max-width: 470px;
  margin: 0 auto;
  padding: 35px 30px 70px;
  box-sizing: border-box;
  background-color: #FFFFFF;
}

.profile__actions-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.profile__actions-wrapper_hidden {
  display: none;
}

.profile__btn-action {
  width: max-content;
  height: 16px;
  padding: 0;
  border: none;
  background-color: #FFFFFF;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.23;
  transition: opacity 0.5s;
}

.profile__btn-action_type_edit {
  color: #000000;
}

.profile__btn-action_type_exit {
  color: #ee3465;
}

@media screen and (max-width: 990px) {
  .profile__wrapper {
    padding-top: 197px;
    padding-bottom: 269px;
  }

  .profile__actions-wrapper {
    margin-top: 20px;
  }
}

@media screen and (max-width: 620px) {
  .profile__wrapper {
    padding-top: 21px;
    padding-bottom: 40px;
  }

  .profile__btn-action {
    font-size: 12px;
    line-height: 1.25;
  }
}
